package org.pz.filter;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.security.access.AccessDecisionManager;
import org.springframework.security.web.access.intercept.FilterInvocationSecurityMetadataSource;
import org.springframework.security.web.access.intercept.FilterSecurityInterceptor;

/**
 * 授权拦截器
 * */
public class MallFilterSecurityInterceptor extends FilterSecurityInterceptor {

    @Override
    public void setAccessDecisionManager(@Autowired AccessDecisionManager accessDecisionManager) {
        super.setAccessDecisionManager(accessDecisionManager);
    }

    @Override
    public void setSecurityMetadataSource(@Autowired FilterInvocationSecurityMetadataSource newSource) {
        super.setSecurityMetadataSource(newSource);
    }
}
